Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 28.2
A world with a door anchor shape that, when clicked on, jumps to the dungeon destination world shown in Figure 28.1. |
|
Click on the image to view the VRML scene. |
#VRML V2.0 utf8 # The VRML 2.0 Sourcebook # Copyright (c) 1997 # Andrea L. Ames, David R. Nadeau, and John L. Moreland Group { children [ NavigationInfo { headlight FALSE }, # Room Inline { url "droom.wrl" }, # Dungeon wall Transform { translation 0.0 0.0 -5.0 children DEF Wall Inline { url "dwall2.wrl" }, }, # Anchor doors Anchor { url "dngnwrld.wrl" description "The Dungeon" children [ # Left door panel Transform { translation -0.75 0.0 -4.95 children DEF LeftDoor Transform { children DEF Door Inline { url "ddoor.wrl" } } }, # Right door panel Transform { translation 0.75 0.0 -4.95 children DEF RightDoor Transform { children USE Door } } ] } ] }